<template>
  <div id="app">
    <router-view/>
    <div class="QR-code">
      <img src="../src/assets/qrcode.png" alt="">
      <div>手机扫码体验更佳</div>
    </div>
  </div>
</template>

<style lang="scss">
@import "~@/assets/style/helper.scss";
@import "~@/assets/style/reset.scss";

html {
  overflow: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #333;
  line-height: 1.5;
  font-family: $font-hei;
  font-size: 16px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: #f5f5f5;
}

#app {
  margin: 0 auto;
  max-width: 500px;
  height: 100vh;
  padding-bottom: 54px;
}

.QR-code {
  display: none;
}
@media (min-width: 500px) {
  #app {
    border-bottom: 1px solid;
  }
  .QR-code {
    display: inline-block;
    text-align: center;
    position: fixed;
    z-index: 100;
    top: 20px;
    left: 50%;
    margin-left: 200+64px;
  }
}
</style>
